package org.zebra.satoken;

import cn.dev33.satoken.session.SaSession;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Jackson定制版SaSession，忽略 timeout 等属性的序列化
 *
 * @author zhanghongbin
 */
@JsonIgnoreProperties({"timeout"})
public class SaSessionForJacksonCustomized extends SaSession {

    public SaSessionForJacksonCustomized() {
        super();
    }

    /**
     * 构建一个Session对象
     *
     * @param id Session的id
     */
    public SaSessionForJacksonCustomized(String id) {
        super(id);
    }
}
